#include <CommandSelectAll.h>
Inheritance diagram for CommandSelectAll:

Public Member Functions | |
| CommandSelectAll (OSGWindows *osgwind) | |
| bool | execute () |
| bool | unexecute () |
| void | changeState () |
| void | changeStateReverse () |
Private Attributes | |
| OSGWindows * | osgwind_ |
| osg::StateSet * | stateset |
Definition at line 7 of file CommandSelectAll.h.
|
|
A constructor. Initializes osgwind_ variable.
Definition at line 2 of file CommandSelectAll.cpp. |
|
|
highlight the objects in the selectedObjs_ vector. Definition at line 25 of file CommandSelectAll.cpp. References stateset. Referenced by execute(). |
|
|
un_highlight the objects in the selectedObjs_ vector. Definition at line 51 of file CommandSelectAll.cpp. References stateset. Referenced by unexecute(). |
|
|
do the selectAll operation.
Implements Command. Definition at line 9 of file CommandSelectAll.cpp. References changeState(), OSGWindows::getObjects(), osgwind_, OSGWindows::setSelectedObjects(), and stateset. Referenced by OSGWindows::addCommandSelectAll(). |
|
|
undo the selectAll operation.
Implements Command. Definition at line 33 of file CommandSelectAll.cpp. References changeStateReverse(), OSGWindows::getObjects(), osgwind_, and stateset. |
|
|
a private variable. It is initialized with the unique OSGWindows instance. Definition at line 15 of file CommandSelectAll.h. Referenced by CommandSelectAll(), execute(), and unexecute(). |
|
|
a private osg::StateSet pointer. It holds state of the selected/deselected objects. Definition at line 21 of file CommandSelectAll.h. Referenced by changeState(), changeStateReverse(), execute(), and unexecute(). |
1.4.6-NO